package com.shy.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

public class UserDao {
    private static Map<String, String> map = new HashMap<>();

    static {
        map.put("10001", "张三");
        map.put("10002", "李四");
        map.put("10003", "王五");
        map.put("10004", "赵六");
    }

    public String queryUserName(String uId){
        return map.get(uId);
    }
}
